<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl">
	<head>
	<?php include_http_metas() ?>
	<?php include_metas() ?>
	<?php include_title() ?>
	<link rel="shortcut icon" href="/favicon.ico" />
	</head>
	
	<body>
		<div id="header">
			<h1>CMS</h1>
		</div>

		<div id="leftmenu">	
			
		</div>

		<div id="content">
			<?php if ($sf_request->hasErrors()): ?>
			 <ul class="feedback error">
			  <?php foreach($sf_request->getErrors() as $name => $error): ?>
			    <li><?php echo $name ?>: <?php echo $error ?></li>
			  <?php endforeach; ?>
			  </ul>
			<?php endif; ?>	

			<?php if ($sf_user->hasFlash('error')): ?>
		  	<ul class="feedback error">
		  		<li><?php echo $sf_user->getFlash('error') ?></li>
		  	</ul>
			<?php endif; ?>
			
			<?php if ($sf_user->hasFlash('message')): ?>
		  	<ul class="feedback">
		  		<li><?php echo $sf_user->getFlash('message') ?></li>
		  	</ul>
			<?php endif; ?>
			
			
		
			<?php echo $sf_data->getRaw('sf_content') ?>

		</div>
	</body>
</html>
